package com.wang.tool.lock.core;

public class LockException extends RuntimeException{

    private String code;

    public LockException(String code,Throwable cause) {
        super(cause);
        this.code = code;
    }

    public LockException(String code,Throwable cause,String message) {
        super(message, cause);
        this.code = code;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
}
